package com.dt.global.entitys.bo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

/**
 * TWebRoleUsersRelation entity. @author ZSM
 */
@Entity
@Table(name = "T_WEB_ROLE_USERS_RELATION")
@Proxy(lazy = false)
public class TWebRoleUsersRelation implements java.io.Serializable {

	// Fields

	private String reId;
	private String roleId;
	private String userId;

	// Constructors

	/** default constructor */
	public TWebRoleUsersRelation() {
	}

	/** full constructor */
	public TWebRoleUsersRelation(String reId, String roleId, String userId) {
		this.reId = reId;
		this.roleId = roleId;
		this.userId = userId;
	}

	// Property accessors
	@Id
	@Column(name = "RE_ID", unique = true, nullable = false, length = 50)
	public String getReId() {
		return this.reId;
	}

	public void setReId(String reId) {
		this.reId = reId;
	}

	@Column(name = "ROLE_ID", nullable = false, length = 50)
	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	@Column(name = "USER_ID", nullable = false, length = 50)
	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

}